<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Follows extends Model
{
    protected $table = 'follows';
    protected $fillable = [
        'cate_id','userid','created_at','form_id'
    ];
    public $timestamps = false;
    protected $dates = ['created_at'];

    public function cate(){
        return $this->belongsTo('App\Models\Cates', 'cate_id', 'id');
    }

}
